package com.x.provider.oss.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.x.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@TableName("content_green_notify")
public class ContentGreenNotify extends BaseEntity {
  @TableId
  private Long id;
  private String notifyUrl;
  @TableField("is_notify_success")
  private Boolean notifySuccess;
  @Builder.Default
  private Integer retryCount = 0;
  private String contentListJson;
  private Date lastNotifyDate;
  @TableField("is_end_notify")
  private Boolean endNotify;
  private String extra;
  @TableField("is_reviewed")
  private Boolean reviewed;
  private String suggestion;
}
